/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2023-03-23 10:23:35
 * @LastEditors: Andy
 * @LastEditTime: 2023-03-25 17:14:19
 */
import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('config.invoiceInformation.invoiceTitle'),
    // minWidth: 140,
    width: 'auto',
    prop: 'header',
    fixed: true
  },
  {
    label: i18n.t('config.invoiceInformation.ird'),
    width: 'auto',
    // minWidth: 200,
    prop: 'taxId'
  },
  {
    label: i18n.t('config.invoiceInformation.companyPhone'),
    width: 'auto',
    // minWidth: 160,
    prop: 'registrationPhone'
  },
  {
    label: i18n.t('config.invoiceInformation.bankName'),
    width: 'auto',
    prop: 'openingBankName'
  },
  {
    label: i18n.t('config.invoiceInformation.bankAccount'),
    width: 'auto',
    minWidth: 120,
    prop: 'openingBankAccount'
  },

  {
    label: i18n.t('config.invoiceInformation.registerAddress'),
    width: 'auto',
    prop: 'registrationAddress'
  },
  {
    label: i18n.t('config.invoiceInformation.creatBy'),
    width: 'auto',
    prop: 'createName'
  },
  {
    label: i18n.t('config.invoiceInformation.creatTime'),
    width: 'auto',
    prop: 'createTime'
  }
]

export const actions = [
  {
    key: 'edit',
    text: i18n.t('common.edit')
    // permissions: 'upms:dict:update'
  },
  {
    key: 'delete',
    text: i18n.t('common.delete')
    // permissions: 'upms:dict:update'
  }
]
